package com.share.user.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.share.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : zhang
 * @create 2025/3/27 16:20
 */
@Alias("cm_UserInfo")
@Data
public class UserInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String name;
    private String wxOpenId;
    private String nickName;
    private String gender;
    private String avatarUrl;
    private String phone;
    private String lastLoginIp;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;
    private String depositStatus;
    private String status;
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

    @TableLogic
    private String delFlag;


}
